package com.salmon.common.page;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * <p>
 *     分页信息
 * </p>
 *
 * @author 王洪庆 2018-12-21 22:29
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {
    private long total;
    private int pages;
    private int pageNum;
    private int pageSize;
    private List<T> rows;
}
